package cn.itcast.nems.enrol.web.vo;

import cn.itcast.nems.enrol.dto.EnrolPaidOrderDTO;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@ToString
public class EnrolFormVO implements Serializable {
    /**
     * 缓存KEY  获取客户ID、业务线和订单来源
     * */
    @NotBlank(message = "sid为空")
    private String sid ;
    /**
     * 订单头
     */
    @NotBlank(message = "订单头不能为空")
    private  EnrolOrderVO order  ;

    /**
     * 已缴费记录
     */
    List<EnrolPaidOrderDTO> paidList;
}
